<?php
/**
 * Created by PhpStorm.
 * User: dust2
 * Date: 14-11-22
 * Time: 上午10:42
 */

class ClassificationTableSeeder extends Seeder
{
    public function run()
    {
        DB::table('classifications')->delete();
        Classification::insert([
            'label' => '推荐',
            'created_at' => time(),
            'updated_at' => time()
        ]);

        Classification::insert([
            'label' => '最新',
            'created_at' => time(),
            'updated_at' => time()
        ]);

        Classification::insert([
            'label' => '经典',
            'created_at' => time(),
            'updated_at' => time()
        ]);

        Classification::insert([
            'label' => '其他',
            'created_at' => time(),
            'updated_at' => time()
        ]);
    }
} 